//Ursula Manning
//9th February 2012
//Application class
//basic output

import javax.swing.*;
import java.util.*;

public class TestApp2 
{
	public static void main(String[]args)
	{
		Array ar = new Array();
		
		ar.caught();
		//System.out.println(ar);
		System.out.println(ar.findSplit());//5
		//System.out.println(ar.toString());
		System.out.println(ar.getFrame());
		
		System.out.flush();
		System.out.println();
		
		/*GraphicApple apple = new GraphicApple();
		//something seriously wrong with AppleWorm.txt!!!!!!
		apple.caught();
		System.out.println(apple.findSplit());
		System.out.println(apple.getFrame());
		*/
		
		GraphicDancer dance = new GraphicDancer();
		
		dance.caught();
		System.out.println(dance.findSplit());
		System.out.println(dance.getFrame());
		
	}
}
